setGlobalDuration(5)

env = genExpseg([.001,10,1,100,.7,100,.001])
ind = genExpseg([1,40,.1,100,.3,100,.1])
readTable(bus='ind', table=ind)
freqMod(pitch=250, modulator=.501, index=20, envelope=env, indexVar='ind')

startCsound()
